<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ace="http://www.icefaces.org/icefaces/components">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
       <h:form>
           <ace:dataTable value="#{listeMembres.mesMembres}" var="macherche">


                <ace:column headerText="firstNameMembers">
                    <h:outputText value="#{macherche.firstNameMembers}"/>
                </ace:column>
                <ace:column headerText="lastNameMembers">
                    <h:outputText value="#{macherche.lastNameMembers}"/>
                </ace:column>
                <ace:column headerText="ageMembers">
                    <h:outputText value="#{macherche.ageMembers}"/>
                </ace:column>


                <ace:column headerText="emailMembers">
                    <h:outputText value="#{macherche.emailMembers}"/>
                </ace:column>
                <ace:column headerText="idMembers">
                    <h:outputText value="#{macherche.idMembers}"/>
                </ace:column>


                <ace:column headerText="Action">
                    <h:commandButton value="Ajouter Favoris" action="#{favoris.insertFavorie(macherche.idMembers)}"/>
                </ace:column>
                <ace:column headerText="Action">
                    <h:commandButton value="Supprimer Members" action="#{recherche.deleteMember(idUser)}"/>
                </ace:column> >
                         
            </ace:dataTable>
            

        </h:form>
    </h:body>
</html>

